package com.s59.players.mapper;

import com.s59.players.entity.Players;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PlayMapper  {

    List<Players> getAll(@Param("pname") String pname, @Param("cid") Long cid);

    int delete(long pid);

    int add(Players players);

    Players get(Long pid);

    int update(Players players);
}
